import { _decorator, Component, Node } from 'cc';
import { GAME_POP, SOUND_TYPE } from '../../Data/GlobalData';
const { ccclass, property } = _decorator;

@ccclass('ZumaButtonLoad')
/**
 * 祖玛按钮层
 */
export class ZumaButtonLoad extends Component {


    /**
     * 点击道具按钮
     */
    private UseProp(_event: any, _cus: string) {
        app.audioManager.PlayEffect(SOUND_TYPE.Button);
        switch (Number(_cus)) {
            case 0:
                break;
            case 1:
                break;
            case 2:
                break;
        }
    }

    /**
     * 点击设置按钮
     */
    private SetClick() {
        app.audioManager.PlayEffect(SOUND_TYPE.Button);
        app.popManager.ShowPop(GAME_POP.PopSet);
    }

}


